package main

import (
	"gitee.com/liukexing/mqbroker/core/driver/config"
	"gitee.com/liukexing/mqbroker/core/server"
)

func main() {
	if config.CheckModule() {
		return
	}
	if server.Start() {
		return
	}
	config.Exit = make(chan int, 1)
	<-config.Exit
	return
}
